
.rank-card {
  margin-bottom: 10px;
  background: #FFF;

  .card-title {
    height: 50px;
    line-height: 50px;
    background-image: linear-gradient(180deg, rgba(208, 245, 238, 0.18) 0%, #FFFFFF 100%);

    .title-img {
      width: 32px;
      vertical-align: middle;
      padding-left: 10px;
    }
    .title {
      font-size: 18px;
    }

    .right-block {
      float: right;
      margin-right: 16px;
      line-height: 20px;

      .rank-kpi {
        display: inline-block;
        padding: 3px 10px 1px;
        margin-top: 10px;
        border: 1px solid #7dc4be;
        border-radius: 4px;
        color: #37c4b8;
        font-weight: bold;
      }
    }
  }
  .card-body {
    padding: 0 10px;

    .rank-list {
      padding-bottom: 10px;

      &.user-rank {
        
        .rank-item {
          &:last-child {
            color: inherit;
            border-top: none;
          }
          .rank-no {
            width: 105px;
          }
        }
      }
      
      .empty-msg {
        padding: 50px 0;
        text-align: center;
        color: #999;
      }
      .rank-item {
        display: flex;
        padding: 6px 0;
        align-items: center;
        color: #666;
        border-bottom: 1px solid #4ad0c52f;

        &:last-child {
          color: #FD806E;
          border-top: 1px solid #4ad0c52f;
        }

        &.rank-header {
          font-size: 13px;
          font-weight: bold;
          color: #43c1b7;
          .rank-no {
            padding-right: 0;
          }
          .rank-toggle {
            display: inline-block;
            border: 1px solid #43c1b7;
            border-radius: 2px;
            padding: 1px 6px;
          }
        }

        .rank-no {
          width: 80px;
          text-align: center;
          padding-right: 16px;
          box-sizing: border-box;
        }
        .grid-name {
          flex: 1;
        }
        .total {
          width: 100px;
          text-align: center;
        }
      }
    }
  }
}
/deep/ .van-loading {
  text-align: center;
  padding: 40px 0;
}